<!DOCTYPE html>
<html>
<head>
  <title></title>
  <include file="Public/title" />
    <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport">
    <include file="Public/head" />
    <style type="text/css">
        .aaaa{background-color:#494;}
    .bbbb{background-color: #B192A9}
    body{background-color: #99F;}
    </style>

    <script type="text/javascript">
  function showtopbar(obj,seq){

    if (seq == 1) {
        $('#button1').addClass("active");
        $('#button2').removeClass("active");
        document.getElementById("gamepktop").style.display = "block";
        document.getElementById("usertop_show").style.display = "none";

    } else if (seq == 2) {
       $('#button2').addClass("active");
       $('#button1').removeClass("active");
        document.getElementById("gamepktop").style.display = "none";
        document.getElementById("usertop_show").style.display = "block";
    } 
}
</script>
</head>
<body>
<script>$(document).ready(function(c) {
    $('.ban-main-cls').on('click', function(c){
        $('.bann-close').fadeOut('slow', function(c){
            $('.bann-close').remove();
        });
    });   
});
</script>
<!--header start here-->
<div class="header bbbb">
        <div class="header-main">
          <div class="top-nav">
                <span class="menu"> <img src="__PUBLIC__/admin/images/icon.png" alt=""/></span>
                <ul class="res">
          <li><a  href="{:U('Index/index')}">主页</a></li> 
          <li><a href="{:U('Users/UserInfo')}">个人信息</a></li>
           <if condition="$Think.session.alias eq null">
                                       <li><a  href="{:U('Users/login')}">发布信息</a></li>

                       <else/>
                                       <li><a  href="{:U('fabuqu/release')}">发布信息</a></li>
                                      </if>
          <li><a href="{:U('fabuqu/pp')}">风景发布</a></li>
         <!--  <li><a class="scroll" href="#service">服务</a></li> -->
          <li><a href="{:U('Index/service')}">景点</a></li>
          <li><a href="{:U('Users/reg')}">注册</a></li>


                </ul>
                <!-- script-for-menu -->
                             <script>
                               $( "span.menu" ).click(function() {
                                 $( "ul.res" ).slideToggle( 300, function() {
                                 // Animation complete.
                                  });
                                 });
                            </script>
            <!-- /script-for-menu -->
             </div> 
                           <!--  <div class="head-button">
                    <div id="loginContainer"><a href="{:U('Users/login')}"><span>登录</span></a>
                    </div>
                </div> -->
        <div class="clearfix"> </div>
     </div>
     <div class="clearfix"> </div>
   </div>   

</div>

    </div>

     <div class="container-fluid main-content" style="min-height:560px" >
          <div class="col-md-10  col-xs-12 col-sm-10 col-sm-offset-1 aaaa col-md-offset-1 col-xs-offset-1"   >
              <h2 style="color: #03c2f9; margin-bottom: 0px;padding-bottom: 0px;"><p class="bg-white" style="margin-bottom: 10px;margin-top: 10px" >发布信息</p></h2>
              <h4><p class="bg-info" style="margin-top:0px ;padding:10px" ><a href="{:U('Index/index')}" style="color: white">首页&nbsp;</a>/&nbsp;发布信息</p></h4>
              
          
               
            
</p>
                         


                    <!--画布1--><div class="index_usertop" id="gamepktop">
              <div class="col-md-3  col-xs-12 col-sm-6 col-sm-offset-3 col-md-offset-4 col-xs-offset-2" >
              <h2 style="text-align: center;">风景发布</h2>
                  <form  method="post"  class="form-horizontal" action="{:U(dolostrelease)}"  enctype="multipart/form-data" onsubmit="return check();" >
                      <br>
                      <input type="hidden" name="username" value="{$Think.session.telephone}">
                      <input class="form-control" placeholder="风景名" type="text" id="sight_name" name="sight_name" required>
                      <br>
                      <input class="form-control" placeholder="风景种类" type="text" id="sight_type" name="sight_type" >
                      <br>
                      <input class="form-control" placeholder="发布人" type="text" id="lname" name="lname"  value="{$userinfo.aliasname}" required>
                      <br>
                      <input class="form-control" placeholder="地址" type="text" id="place" name="place" >
                      <br>
                      <input class="form-control" placeholder="风景年龄"  type="text" id="sight_age" name="sight_age" >
                      <br>
                      <textarea class="form-control"   placeholder="风景介绍" id="info" name="info" ></textarea>
                      <br>
                      <input class="form-control" placeholder="联系电话" type="text" id="telephone" name="telephone"  value="{$userinfo.telephone}" required>
                      <br>
                      <input class="form-control" placeholder="联系邮箱" type="email" id="email" name="email" value="{$userinfo.email}" >
                      <br>
                      
                      <div class="fileupload fileupload-new" data-provides="fileupload">
                      <input type="hidden" value="" name="" >
                          <div class="fileupload-new img-thumbnail"
                               style="width: 110px; height: 110px;background-color:#5f5f5f">
                              <img src="">
                          </div>
                          <div class="fileupload-preview fileupload-exists img-thumbnail"
                               style="width: 110px; max-height: 110px;">
                          </div>                  
                    <span class="btn btn-default btn-file">
                        <span class="fileupload-new">选择</span>
                        <span class="fileupload-exists">重选</span><input type="file" name="file">
                        </span>
                          <span>
                        <a class="btn btn-default fileupload-exists" data-dismiss="fileupload"
                                  href="#">撤销</a>
                        </span>
                      </div>
                      <input class="btn btn-block btn-info "  type="submit" value="发  布">

                  </form>
              </div>      
            </div>

       
     </div>
        <include file="Public/footer" />    
    </div>
  </body>

</html>